﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BFOAuction.DTO.Auction
{
    public class Auction
    {
        #region Member Variables
        private string strAuctionID = string.Empty;
        private DateTime? dtDateBegin;
        private DateTime? dtDateEnd;
        private decimal decPriceBegin = 0;
        private decimal decPriceIncreases = 0;
        private decimal decCost = 0;
        private decimal decTotal = 0;
        private string strNote = string.Empty;
        private string strUserCreate = string.Empty;
                
        #endregion

        #region Properties
        public string AuctionID
        {
            get { return strAuctionID; }
            set { strAuctionID = value; }
        }
        public DateTime? DateBegin
        {
            get { return dtDateBegin; }
            set { dtDateBegin = value; }
        }
        public DateTime? DateEnd
        {
            get { return dtDateEnd; }
            set { dtDateEnd = value; }
        }
        public decimal PriceBegin
        {
            get { return decPriceBegin; }
            set { decPriceBegin = value; }
        }
        public decimal PriceIncreases
        {
            get { return decPriceIncreases; }
            set { decPriceIncreases = value; }
        }
        public decimal Total
        {
            get { return decTotal; }
            set { decTotal = value; }
        }

        public decimal Cost
        {
            get { return decCost; }
            set { decCost = value; }
        }
        public string Note
        {
            get { return strNote; }
            set { strNote = value; }
        }

        public string UserCreate
        {
            get { return strUserCreate; }
            set { strUserCreate = value; }
        }

        #endregion

        #region Column Names

        public const String colAuctionID = "AuctionID";
        public const String colDateBegin = "DateBegin";
        public const String colDateEnd = "DateEnd";
        public const String colPriceBegin = "PriceBegin";
        public const String colPriceIncreases = "PriceIncreases";
        public const String colCost = "Cost";
        public const String colTotal = "Total";
        public const String colNote = "Note";
        public const String colUserCreate = "UserCreate";

        #endregion
    }
}
